﻿namespace WMS6.Web.BaseInfoDetailServiceRef
{
    using System;
    using System.CodeDom.Compiler;
    using System.Diagnostics;
    using System.Runtime.Serialization;

    [Serializable, GeneratedCode("System.Runtime.Serialization", "3.0.0.0"), DataContract(Name="AuditDefinitionQueryEntity", Namespace="http://schemas.datacontract.org/2004/07/WMS6.QueryEntity"), DebuggerStepThrough]
    public class AuditDefinitionQueryEntity : BaseQuery
    {
        [OptionalField]
        private string ColNameField;
        [OptionalField]
        private string ColTypeField;
        [OptionalField]
        private string ForDeleteField;
        [OptionalField]
        private string ForInsertField;
        [OptionalField]
        private string ForUpdateField;
        [OptionalField]
        private string RowIDField;
        [OptionalField]
        private string TableNameField;

        [DataMember]
        public string ColName
        {
            get
            {
                return this.ColNameField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ColNameField, value))
                {
                    this.ColNameField = value;
                    base.RaisePropertyChanged("ColName");
                }
            }
        }

        [DataMember]
        public string ColType
        {
            get
            {
                return this.ColTypeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ColTypeField, value))
                {
                    this.ColTypeField = value;
                    base.RaisePropertyChanged("ColType");
                }
            }
        }

        [DataMember]
        public string ForDelete
        {
            get
            {
                return this.ForDeleteField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ForDeleteField, value))
                {
                    this.ForDeleteField = value;
                    base.RaisePropertyChanged("ForDelete");
                }
            }
        }

        [DataMember]
        public string ForInsert
        {
            get
            {
                return this.ForInsertField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ForInsertField, value))
                {
                    this.ForInsertField = value;
                    base.RaisePropertyChanged("ForInsert");
                }
            }
        }

        [DataMember]
        public string ForUpdate
        {
            get
            {
                return this.ForUpdateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ForUpdateField, value))
                {
                    this.ForUpdateField = value;
                    base.RaisePropertyChanged("ForUpdate");
                }
            }
        }

        [DataMember]
        public string RowID
        {
            get
            {
                return this.RowIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RowIDField, value))
                {
                    this.RowIDField = value;
                    base.RaisePropertyChanged("RowID");
                }
            }
        }

        [DataMember]
        public string TableName
        {
            get
            {
                return this.TableNameField;
            }
            set
            {
                if (!object.ReferenceEquals(this.TableNameField, value))
                {
                    this.TableNameField = value;
                    base.RaisePropertyChanged("TableName");
                }
            }
        }
    }
}

